package com.pzhu.dormitory.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pzhu.dormitory.entity.UserRoleRelationEntity;
import com.pzhu.dormitory.utils.PageUtils;
import com.pzhu.dormitory.vo.UserRolesGrantVo;

import java.util.Map;

/**
 * 后台用户和角色关系表
 *
 * @author
 * @email
 * @date 2021-04-10 08:46:25
 */
public interface UserRoleRelationService extends IService<UserRoleRelationEntity> {
    PageUtils<UserRoleRelationEntity> queryPage(Map<String, Object> params);

    /**
     * 分配角色
     *
     * @param userRolesGrantVo
     */
    void saveGrantRole(UserRolesGrantVo userRolesGrantVo);
}

